package interview.java.q1.internal;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

public class StringListConverter {

  public StringListConverter(int[] line) {
    _line = line;
  }

  public List<String> convert() {
    return Arrays.stream(_line)
        .mapToObj(Integer::toHexString)
        .collect(Collectors.toList());
  }

  private final int[] _line;

//  private final IntFunction<String> _toStr;
}
